package com.google.code.jmarias.server.tcp;

import com.google.code.jmarias.common.NewPlayer;
import com.google.code.jmarias.common.action.AbstractSignedMessage;

/**
 *
 * @author Ondrej Michal
 */
public class ContactablePlayer extends NewPlayer {

    public ContactablePlayer(AbstractContactableUser client) {
        super(client);
    }

    public void sendAction(AbstractSignedMessage action) {
        // server si tam uklada AbstractContactableUser, takze by to tam melo byt
        ((AbstractContactableUser) getClient()).sendMessage(action);
    }
}
